package cn.gmcx.lazy.izze.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentsVo {
    private Integer id;

    private Integer userId;
    private String username;
    private String avatar;
    private User user;

    @Size(max = 300 ,message = "长度超出范围")
    private String message;
    private String imgUrl;
    private Integer videoId;
    private Integer praise;
    private Integer disLike;
    private Integer parentId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Long subCommentCount;
}
